package com.ac.app.web.action.org;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ac.app.dm.PickInvest;
import com.caac.core.web.action.BaseAction;
import com.caac.core.web.form.BaseForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;


public class GetPickInvestAction extends BaseAction {
    protected ActionForward doExecute(ActionMapping mapping,
                                      BaseForm form,
                                      HttpServletRequest request,
                                      HttpServletResponse response)
            throws Exception {
    	String id=request.getParameter("id");
    	List list=this.getBaseManager().getObjects(PickInvest.class, "org_id='"+id+"' order by PRJ_BEGDATE desc");
    	request.setAttribute("list", list);
        return forward(mapping);
    }
}
